package com.zbkj.admin.model.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户银行卡账号
 *
 * @author llc
 * @since 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_user_bank_account")
@Schema(description = "UserBankAccount对象 用户银行卡账号表")
public class UserBankAccount implements Serializable {

    private static final long serialVersionUID=1L;

    @Schema(description = "用户银行卡账号id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "用户id")
    private Integer uid;

    @Schema(description = "提现类型(0:微信,1:支付宝,2:银行卡(银联),3:paypal,4:拉卡拉,5:扫呗)")
    private Integer type;

    @Schema(description = "账户名称（如：建设银行、工商银行）")
    private String bankName;

    @Schema(description = "账号（根据类型填入对应账号）")
    private String bankCode;

    @Schema(description = "是否默认（0：是；1：否）")
    private Boolean isDefault;

    @Schema(description = "是否删除（0：是；1：否）")
    private Boolean isDel;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;


}
